From: LLVM Packaging Team Date: Thu, 7 Sep 2023 22:43:45 +0000 (+0200) Subject: syscall-mips64el-def X-Git-Tag: archive/raspbian/1%15.0.7-10+rpi1~1^2~52 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0ce2a6bffcb53d10445f8dd2a74d49bf3240caf5;p=llvm-toolchain-15.git syscall-mips64el-def =================================================================== Gbp-Pq: Topic mips Gbp-Pq: Name syscall-mips64el-def.diff --- diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c index 9816940b50..e7e00bac55 100644 --- a/compiler-rt/lib/builtins/clear_cache.c +++ b/compiler-rt/lib/builtins/clear_cache.c @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#if defined(__linux__) && defined(__mips__) +// Otherwise, the build fails as it cannot find syscall +#define _GNU_SOURCE +#endif + #include "int_lib.h" #if defined(__linux__) #include